﻿@model System.Collections.Generic.IEnumerable<Zeus.Interop.SampleSite.Models.Order>
<h3>
    Rendered in Razor</h3>
<table>
    <tr>
        <th>Order #</th>
        <th>Product Name</th>
        <th>Product Description</th>
        <th>QTY Ordered</th>
    </tr>
    @foreach (var order in Model)
    {
        foreach (var item in order.Items)
        {
            <tr>
                <td>@order.Id</td>
                <td>@item.Product.Name</td>
                <td>@item.Product.Description</td>
                <td>@item.QtyOrdered</td>
            </tr>
        }
    }
</table>
